#define _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <stdio.h>

int main()
{
    float a = 0;
    float b = 0;
    float c = 0;
    float d = 0;
    float e = 0;
    float sum = 0;


        while(scanf("%f %f %f %f %f\n", &a, &b, &c, &d, &e)!=EOF);
        sum = a + b + c + d + e;
       
 printf("%.1f %.1f %.1f %.1f %.1f %.1f\n", a, b, c, d, e, sum);

    return 0;
}